<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  <link rel="stylesheet" href="content/main.css" type="text/css" />
  <title>CPAN::Web : Know More</title>
</head>
<body>
  <div id="wrapper">
    <div id="header">
      <div id="banner"><a href="index.html"><img src="content/banner.png" alt="Making CPAN installs easy" /></a></div>
      <div id="logo"><img src="content/banner_right.png" alt="CPAN::Web : Making CPAN installs easy" /></div>
    </div>
    <div class="flush">&nbsp;</div>
    <div id="content">
      <div id="columnLeft">
        <h3>I want to</h3>
        <ul class="nav">
          <li><a href="search.pl">Search</a></li>
          <li><a href="know-more.html">Know more</a></li>
          <li><a href="help-out.html">Contribute</a></li>
        </ul>
      </div>
      <div id="columnRight">
        <div class="contentLeft">
          <h2>What else should I know?</h2>
          <p>The modules that CPAN::Web installs will be in your local perl directory, which is typically
            something like "<i>/home/joebloggs/perl5</i>". 
          </p>
          <p>This means that your scripts will need to know this. You can do that easily with <a href="http://search.cpan.org/~apeiron/local-lib-1.001000/lib/local/lib.pm">local::lib</a>.
            For example, let's say you installed Data::Dump using CPAN::Web. Your script might look like this:</p>
            <pre>
#!/usr/bin/perl

use strict;
use local::lib;
use Data::Dump qw(dump); 

print dump(\%ENV);</pre>
        </div>
        <div class="contentRight">
          <h2>Is this secure?</h2>
          <p>No, not really. But we try to avoid insecurity. Anything that lets anyone add
            files to your server is a risk. At some point, we might add authentication for
            CPAN::Web so that you have to log in using a username and password to use it.
            Keeping unauthorized people out is still your responsibility.
          </p>
          <h2>If this is insecure why is it available?</h2>
          <p>This is the pre-Alpha release. It is intended as a working proof to be built
            upon. I personally am happy using it in a "sandpit" virtual machine that I am
            using for fun, unimportant things. I wouldn't use it on a production server.
          </p>
        </div>
      </div>
    </div>
    <div class="flush">&nbsp;</div>
    <div class="footer">
      <p>CPAN::Web is an open source applicaton designed to make installing CPAN modules easy.
      &copy; 2008 Robbie Bow. Distributed as is with no warranty.
      This work is licenced under a <a rel="license" href="http://creativecommons.org/licenses/by/2.0/uk/">Creative Commons Licence</a>.</p>
    </div>
  </div>
</body>
</html>